<#-- Layout -->
<#macro layout title mods>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--[if IE]>
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'/>
    <![endif]-->

    <title>${title?default('java思维导图')}</title>

    <link rel="stylesheet" href="${base}/res/layui/css/layui.css">
    <link rel="stylesheet" href="${base}/res/css/global.css">

    <script src="${base}/res/layui/layui.js"></script>
    <script src="${base}/res/js/jquery.min.js"></script>

</head>
<body>

<#include "/inc/common.ftl" />
<#include "/inc/header.ftl" />

<#nested>

<#include "/inc/footer.ftl" />

<script>
    layui.cache.page = 'jie';
    layui.cache.user = {
        username: '游客'
        ,uid: -1
        ,avatar: '/res/images/avatar/00.jpg'
        ,experience: 83
        ,sex: '男'
    };
    layui.config({
        version: "3.0.0"
        ,base: '/res/mods/'
    }).extend({
        fly: 'index'
    }).use('${mods}');
</script>
</body>
</html>
</#macro>